import React, { Component } from 'react'
import Clip from '../../../../../src/assets/image/clip.png'

export default class Suspend extends Component {
    componentDidUpdate() {
    }
    render() {
        const { newData } = this.props;
        return (
            <div className='suspend-container'>
                <div className='suspend-container-title'><span>温度</span>
                    <span><img src={Clip} alt="" /></span>
                </div>
                <div className='suspend-container-content'>
                    <ul>
                        <li>
                            <span>实时值:</span>
                            <span>{newData.realValue}<sub>mm</sub></span>
                        </li>
                        <li>
                            <span>上上限:</span>
                            <span>{newData.maxLimit}<sub>mm</sub></span>
                        </li>
                        <li>
                            <span>上&emsp;限:</span>
                            <span>{newData.upLimit}<sub>mm</sub></span>
                        </li>
                        <li>
                            <span>下&emsp;限:</span>
                            <span>{newData.downLimit}<sub>mm</sub></span>
                        </li>
                        <li>
                            <span>下下限:</span>
                            <span>{newData.minLimit}<sub></sub></span>
                        </li>
                        <li>
                            <span>量&emsp;程:</span>
                            <span>{newData.rangeMin}<sub>mm</sub></span>
                            <span>-{newData.rangeMax} <sub>mm</sub></span>
                        </li>
                        <li>
                            <span>采集时间:</span>
                            <span>{newData.acquisitionTime}</span>
                        </li>
                    </ul>
                </div>
            </div>
        )
    }
}
